﻿using MangoMes.Commont.Domain.Products;
using MangoMes.Commont.DTOs;
using MediatR;

namespace MangoMes.Write.API.Applications.ProductManaged
{
    public class ProductManageCreateCommon: IRequest<ResultsDTO>
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        public int ProductManageId { get; set; }
        /// <summary>
        /// 物料编码（自动生成）
        /// </summary>
        public string? ProductManageNode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string? ProductManageName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? ProductManageNumber { get; set; }
        /// <summary>
        /// 单位(下拉框)
        /// </summary>
        public string? Unites { get; set; }
        /// <summary>
        /// 物料/产品分类 （物料产品分类表 ProductTypes）
        /// </summary>
        public int ProductTypeId { get; set; }
        /// <summary>
        /// 高价值/易被盗物品
        /// </summary>
        public int HeightsAll { get; set; }
        /// <summary>
        /// 是否启用（单选框）
        /// </summary>
        public int IsNo { get; set; }
        /// <summary>
        /// 批次管理（单选框）
        /// </summary>
        public int Batchs { get; set; }
        /// <summary>
        /// 安全库存（单选框）
        /// </summary>
        public int Inventory { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        ///// <summary>
        ///// 二维码
        ///// </summary>
        //public string? TwoNumber { get; set; }
        /// <summary>
        /// 创建日期（默认为当前日期）
        /// </summary>
        public DateTime? productManageTime { get; set; } = DateTime.Now;
    }
}
